import React, { useEffect } from 'react'

import NumChart from './numChart/numChart'
import LineChart from './lineChart/lineChart'
import './index.less'

const AnalysisCharts = props => {

    const { id } = props

    useEffect(() => {
        console.log("update-->", id)
    }, null)

    return (
        <div>
            <div className="num-chart">
                <NumChart />
            </div>
            <div className="line-chart">
                <LineChart />
            </div>
        </div>
    )
}

export default AnalysisCharts